let arr = [1,3,3,4,1,3,5];

function delArrayReapet(arr) {
    let newArr = [];
    
    arr.filters(function(value,key,arr) {

        
    },thisArg)

    return newArr;
}

console.log(arr,delArrayReapet(arr));